Add test for date range search, refs #4654