Advanced front-end JavaScript unit testing with QUnit