Finally fixed entity test cases.

Changed datatype to LocalDate instead of DateTime, no time and time zone
needed.