Set the JAVA 1.6 target and source for compliancy with existing demo.
Set to Java 1.6 and added a test.