Docstring
Change the way the errors are tested