Fix tests that fail due to hash randomization

Addresses #975

I couldn't get the dict_to_numpy_array() tests to fail as sin #975 (1000 tries, Python3.4 alpha)