Spring resteasy test fix

WFK2-660 fix proposal.