the optional second argument ("expected") of test method was removed from qunit 2.x see: http://qunitjs.com/upgrade-guide-2.x/#replace-expected-argument-in-qunit-test