Add more test cases for anagrams