cuke_sniffer command changes and added tests