Revert "Use QUnit setup functions"

This reverts commit 3e9665f7954829279487b6f79698149d2ad8a515.