object to promise
browser testing with mochify