Setting up testing environment