Modify test for identical word to include case difference

Also modify the example in a simple way to make it pass that additional
test
Merge pull request #1266 from drueck/add-anagram-test

Add test for JS anagram to reject same word regardless of case