Behave Testing Framework For Python Loop