CAMEL-7215 Add unit tests.