Setting up the testing environment