Adds test for the UI API get all flows action.