switch to chai
use sinon-chai for better assertions