switch to using Chai for assertions