Added test helpers.