Fix formatting; use assert.instanceOf() instead of assert.isObject()