Add test to Java App