added test for AnagramSolver