provide extension method for flattening partialresults
add tests for new extension method