added creatorHook test case