FQA-1085: Fix bugs when run test wiki-sniff