Test class is not using threads correctly in Reactor.