added test for python3. fixes #87