Tests for cannot_block_proc in calling context