updated qunit tests into the backbone app and using commonjs syntax