added error message test