make python 3 happy
tidy up the hotp vector test a bit