Fix op precedence in tests