Finished java test file