tests for item filtering by date