Test Automation in an Agile Environment