added tests for https://issues.apache.org/jira/browse/CAMEL-6185