wip for cached_object api and tests