I couldn't run the tests on JDK 1.6, so upgrading to 1.7 which works.