RESTEASY-916: More unit tests.