Added an initial classes for OnExit tests.