added QUnit Testing