Rework the test, also make sure the future is unlock only when some data has been received
Fix test
Fixes #53