This now uses the "should equal" mocha check instead of an if-block. The end result is the same but with an additional assertion.