CHANGED:applied the task filter selection testing code