adding promisify() chaining to test spec