error handling
error handling tests