Reimplemented tests using harmony, co and request-promise