Helper tool for creating QUnit tests and running them