python 3 support (fixes #2)
tests