Improved qunit tests for javascript calculator