Fix moduleless QUnit output

Fix #78 and contribute a test.