Return promises from unit tests. We should really do this more often