	@Test
	public void testFavicon() {

		try {
			MiniClient c = new MiniClient();
			c.setConnectorEndpoint(connector.getHttpEndpoint());
			c.setLogin(testAgent.getIdentifier(), testPass);

			ClientResponse result = c.sendRequest("GET", "favicon.ico", "");
			Assert.assertEquals(200, result.getHttpCode());
			Assert.assertArrayEquals(SimpleTools.toByteArray(getClass().getResourceAsStream("/favicon.ico")),
					result.getRawResponse());
		} catch (Exception e) {
			e.printStackTrace();
			Assert.fail("Exception: " + e);
		}
	}