ResponseTest unittest and minor fixes in Response