Fixed tests for new date serialization