using chai for backend tests