add specs on error handling