more robust test condition