Added tests for valid_datetime