added some debug statements to have the possibilities to check what's going on
simplified the unit test
CAMEL-6076: deprecate the xxxRef options and provide the xxx option if it not exists yet - work in progress