Internal Test: Verify correct order of operations with mixed operators and parentheses.