unit-tests: Test cancellability of some cancellation points we rely on