Test at_cache() with [object, method] pair.