Added a test Java file.