Started migrating to Qunit test framework.
Bugfix in selectmany (inversed parameters passed to resultSelector).