Add conditions tests.