Fix: Correct order of arguments passed to assert.equal (fixes #945)