test against java 1.6