Test to confirm behaviour on cancel.