Add test that uses java.util.Date to highlight error if on java8