add tests #12
several fixes, including redirect response, cache, and cache purging