RESTEASY-820: Added test case.