Changed java version to 1.7 added one test.