Fix test condition syntax