Fix test filtering