use correct variable names in test error messages

The tests spat out the wrong key/value pair when testing the hashtable against
a standard python dictionary.