Test code needs Java1.7.