CAMEL-8052 Added some unit tests for Spring DSL
Fixed the CS error of camel-metrics