[CXF-5311] Fixing the typo, updating the test