CAMEL-8097: Added unit test