reset calculator between precedence ambiguity tests

The test seems wrong because it includes two tests in one, but does not reset the state of the calculator
(which should be able to accept new operations or pushes, maintaining the previous value in memory).