Use chai and promise to test services.