set up mock cookie library for testing. tests were getting headers started errors because of the cookies being set/read. this mock library implements an in-memory cookie jar to mock the browser.