Include tests for three versions of Scala result composition