CAMEL-7143: Added unit test.