added testing environment feature