Updates ruby anagram tests so that returned array order doesn't matter.

Implements #471