Promisify tests