add test for duration offset filter