Add assertSyntaxError() which run tests with an additional docstring and without docstring, and checks for the error message.