updated flows test