Added functionFlow tests