test java application