added Test java file