Test ionexit utility

Tests that ionexit cleans up ION processes and shared resources.
