Test rejection error.