is_anagram() with tests