wrote some tests for the calculator