sys.exit mock cleanup

The base testcase didn't need to keep a reference to the sys.exit
mockpatch fixture.

Also, added a unit test for calling sys.exit() since there wasn't
one.

Change-Id: Ifa2e6c89dc556ed09623805e618a95744cc8c97f
Merge "sys.exit mock cleanup"