Adding test for date search as instructed in #4