MULE-6872 adding unit tests