Added an extra test for anagrams