fix test condition: