#176 Date and time now valid correctly. Updated unittests to test for leap year