Moved the date tests from lib_test to date_test