changed services to directly return http promise, changed test accordingly