Fixed java test file