setting up testing environment