non-working changes to _cache and cosmo
many tests updated
a lot… better tests, better caching