Cleaned up testHook a little