Added full tests for operator precedence