Adding unit test for type sniffer