Added tests for dates, refactored auto-properties