added more unit tests for date ranges