add tests to Calculator class