added test for caching of a promisified async function