@Test
	public void testGetAllJobsCurrentOnWorkers() throws LuaScriptException {
		List<String> noKeys = new ArrayList<String>();
		List<String> args = Arrays.asList(JQlessClient.getCurrentSeconds());

		String json = (String) _luaScript.callScript(this.scriptName(), noKeys,
				args);
		json = JsonHelper.fixArrayField(json, "jobs");
		json = JsonHelper.fixArrayField(json, "stalled");
		List<Map<String, Object>> workers = JsonHelper.parseList(json);

		for (Map<String, Object> worker : workers) {
			if (worker.get("name").equals(TEST_WORKER)) {
				assertEquals("2", worker.get("jobs").toString());
			} else {
				assertEquals("1", worker.get("jobs").toString());
			}
			assertEquals("0", worker.get("stalled").toString());
		}
	}