return from sys.exit for easier testing
Using unicode strings
Missing tests.