got the tests to pass using async.every method