node module: chai assertions about an object's interface