use chai-http promise syntax