add conditions_spec tests