Fixed a few qunit related issues.