remove tests against java 6