fix job cancellation + test

- removed debug()