remove a bit of JDK8 junk and test that the mapper rejects bad dates