fix TestCondition