Added tests for cache and .use()