Make some helpers for the tests.