Fixed FlowPredicate.test()