CAMEL-7676: Added unit test.