generalized the testing environment