added test distributed flow