Making redis tests wait for async callbacks