Improved persistence tests and added mapping of LocalDateTime fields.