Raises an error so that failing tests result in a non-zero exit status