Don't use 'long' in unit tests.

breaks python 3