Issue #37: test case for job kill optimization