add test for TimeFilter