Fix undefined steps in tests