Added a java class to test