Add some test helpers.