Can you use step or step_func to make the test look more like sequential code and remove the need for this "if"?