added runStep with tests