Create toUnit on RichFuture and tests for it