added date fields, improved tests and tightened schemas