This should raise an exception. Also it is not tested: https://coveralls.io/files/185168631#L93