Fix dirty tracking test to compare Dates.
Serialize attrs before comparing for dirty tracking.
Merge pull request #264 from karenliu1/karen/dirty-tracking-attrs

Karen/dirty tracking attrs