POULPE-503 Added some tests for UserRegistrationResource.