Make test_all work with future -mocks integration