fixed java 6 problem in ApplicationTest.java