Java properties testcase