Date Controller and Tests