fix compiling error in TransitionTest on vs.