Code cleanup
Use os.exit() instead of error() to stop a test.  The stack trace given
is pretty useless, and it's confusing.