Introduced TestTerminators for determining how a test terminates