changed flow.rb to loop break test