qunit test for parser