@Test
public void testGetVersion() throws Exception {

  final String response = given().log().all().expect().statusCode(SC_OK).when().get(env.host("/version")).asString();
  JSONObject json = (JSONObject) parser.parse(response);
  JSONArray version = (JSONArray) json.get("versions");
  assertEquals("v1.5.0", json.get("default"));
  assertTrue(version.contains("v1.0.0"));
  assertTrue(version.contains("v1.1.0"));
  assertTrue(version.contains("v1.2.0"));
  assertTrue(version.contains("v1.3.0"));
  assertTrue(version.contains("v1.4.0"));
  assertTrue(version.contains("v1.5.0"));
  assertEquals(6, version.size());
}