Writing Maintainable Automated Acceptance Tests