add test to check for error in _check