Checkpoint for my (currently failing) test.
The last promise is now currectly resolved into the result of flow.
Code still works as expected without that variable.