add promise to get around race condition in discussion bok-choy test