Switched to chai assertions.

The are nicer, including deep type checking and failure diffs.