get rid of sys.exit(0) that slipped in
Merge pull request #756 from boegel/fix_unit_tests

fix unit tests