move moment to async for test