Added a test to the date class,