finished first pass of tests for response object, fix a few bugs in response