tests for TimeFilter