Fix: assert.equal error when comparing null to an object.