Try to detect Conditions in unittest