Helpers for our tests.