@Test
public void testRegistration() throws Exception {
RegistrationResponse response;
Client client = createTestClient();
WebResource webResource = client.resource(base_url + "test/register");
response = webResource.type(MediaType.APPLICATION_JSON)
.post(RegistrationResponse.class, createDummyJSONRegister());
Assert.assertEquals(RegistrationStatus.OK, response.getResponseStatus());
}