Add QC tests for anagrams