Added QUnit for unit testing.