refactor test
first tests for filter
refactor use of task var