Fix test breakage on py3
Make DEFAULT_HASHMOD a string, for easier checking in other modules.
Prep version 0.3.1