Test cancellation of cued code