Fix test condition