more unit tests for duration filter