@GET
  @Path("version")
  @Produces({MediaType.APPLICATION_JSON})
  public Map<String, Object> version() {
    return SUPPORTED_VERSIONS;
  }
@Test
  public void testVersions() {
    assertEquals(server.version().get("version"), "v1");
  }