Added a util class for testing.