Set up testing environment