Add futures unit tests