added date format test
date serialization per #281