Exit if tests fail
Fix setup.py under Python 3