issue #1: target 1.6 and made test not dependent on jvm version