Fix some tests to be compatible with python3
Test the application under python3

Fixes #68