Added a new test for prefix operator and change the addOperator to the correct function for the previous test.