python 3 support (python 2 not yet tested)
made the tests run again on python 2
make travis run the tests; fix the exit code from the script