Add: qunit and test cases