Use instanceOf chai matcher.
Add an internal `noop` function.