adding Condition api spec testing