implemented QUnit tests

Sample QUnit tests