@Test
public void testNewUser() {

  final User u = new User("testuser");
  u.setPassword("testPassword");
  final User newUser = this.userResource.newUser(u);
  assertNotNull(newUser.getId());
  assertTrue(Long.parseLong(newUser.getId()) > 0);
}