Rewritten tests for RPN calculator