API docs for unit test helpers