added promisifyAll and got working tests