All this stuff was moved to `utils.testing`.