add a test that permanent redirects are cacheable