Add couple of status code tests and fix errors with requests headers

…that one slipped past me when I reinvented the file. Later, I'll have
to figure out what to do exactly with the headers.