Setting up the test environment