Prepare test data for query on date