refactor, using qunit-fixture