Adding apply flow integration test