Adding exit code that indicates success of tests when run from setup.py

This makes things slightly easier for continuous integration.