Setting the testing environment