adds test to hash sort.