QUnit runs in test/main. Cleaned up some warnings from jshint