set up testing environment