created test for no objects to sniff in Hooks and implementation