Fixed expected and actual ordering in assertions in all tests

As far as I could tell, only hamming and phone-number were still out of whack.