Prepare enviroment for testing