Fix do_transition medium test