Make sure GeneralError is raised when unknown http error happens

It was misspelled as GenericError, instead of GeneralErorr. This commit
adds a test to make sure it is raised.