remove deprecated chai uses

This fixes a small deprecation message that you got when running tests with the latest version of chai.