unit tests for step adn hook registry