Automated testing environment