Adding StateTest.java to the project.