@Test
public void testUpdateExistingTimesheetWrongResponse() {

	getResults
			.put("ts_sebastian_2014_07",
					"{\"_id\":\"ts_sebastian_2014_07\",\"_rev\":\"2-1983e046a14377c433c08711fbb57b28\", \"other\": 88,\"entries\":[{\"dayInMonth\":1,\"project\":\"P1\",\"hours\":\"2:31\"},{\"dayInMonth\":2,\"project\":\"P1\",\"hours\":\"1:11\"},{\"dayInMonth\":2,\"project\":\"P2\",\"hours\":\"2:22\"},{\"dayInMonth\":2,\"project\":\"P2\",\"hours\":\"3:33\"},{\"dayInMonth\":14,\"project\":\"P1\",\"hours\":\"1:00\"}]}");
	putResults.put("ts_sebastian_2014_07", "{\"ok\": false, \"id\": \"ts_sebastian_2014_07\", \"rev\": \"3-123456789\"}");
	TimesheetCouch ts = new TimesheetCouch("ts_sebastian_2014_07", "2-1983e046a14377c433c08711fbb57b28");
	Exception exc = null;
	try {
		timesheetService.updateExistingTimesheet(ts, context);
	} catch (Exception e) {
		exc = e;
	}
	assertNotNull(exc);
	assertEquals(TechnicalException.class, exc.getClass());
	assertTrue(exc.getMessage().contains("Saving failed"));
	assertTrue(exc.getMessage().contains("\"ok\":false"));
}