refactor fetch to support unittesting
code changes in the rest of the code base to support testing fetch
extend TestRequest class to test fetch & detail; add a test to check it does
update TestResponse class to return specific headers & status codes (with tests)
add test for fetch using image tokens