Reverse Polish calculator test