Added test for DateTime serialization