[SW] Bug 940273 Fix cache tests by properly saving already_AddRefed<> to an nsCOMPtr.