@Test
public void testAcceptHITLimit() {

	String hitId = "testHITId";				
	String workerId = "testWorkerId";		
	String assignmentId = "testAssignmentId";
	
	Session s = new Session();
	s.setHitId(hitId);
	s.setWorkerId(workerId);
	s.setAssignmentId(assignmentId);		
	s.setInactivePercent(0.0); // Identifies completed session
	
	assertEquals(SessionStatus.COMPLETED, SessionRecord.status(s));
	
	tracker.saveSession(s);
	
	String hitId2 = "testHITId2";
	String assignmentId2 = "assignmentId2";
	MockServerSession conn = new MockServerSession();
	
	// Attempt to take new session
	server.sessionAccept(conn, hitId2, assignmentId2, workerId);
	
	assertEquals(conn.lastChannel, USER_CHANNEL);
	assertEquals(Codec.status_toomanysessions, ((Map<String, Object>) conn.lastData).get("status"));
}