Separated the two tests in 12 RPN calculator