Added unit tests for HookStep