Added qunit tests for javascript calculator