Fix QUnit testing

Fixes #79