Test for cache hit case of impersonation.