test-utils - fixed termination utils