Ensure that returning a semifuture from a continuation works correctly.