Added wait_for_line.rb utility