[CXF-5980] Adding a test