Add test for filter tasks, choose earlier task for signature