Fix tests under python 3.4.2
Merge pull request #87 from LordAro/fix-tests

Fix tests under Python 3.4.2 (fixes #84)