fixing tests, used less promises in http response call stack;