Automatic testing environment