Added some more unit tests for the date time range functions.