Creating a test environment java file