Utility functions and objects for testing.