tests/test_http_media_cache: Add unit tests for res_http_media_cache