Added sinon.
Added tests for calculator.
Modified calculator to pass tests.