Added 'error' and 'sucess' message test