changed the first test to expect a promise, not a callback