Java class test app