API: move testing to _utils.testing