Refactor bok-choy tests.