@Test(expected=TooManySessionsException.class)
public void testLimitSets() throws Exception {

	String hitId = "testHITId";
	String hitId2 = "testHITId2";
	
	String workerId = "testWorkerId";
	
	String assignmentId = "testAssignmentId";
	
	Session s = new Session();
	s.setHitId(hitId);
	s.setWorkerId(workerId);
	s.setAssignmentId(assignmentId);
	// Current hack to signify completed session
	s.setInactivePercent(0.0);
	
	assertEquals(SessionStatus.COMPLETED, SessionRecord.status(s));
	
	tracker.saveSession(s);
	
	workerAuth.checkWorkerLimits(hitId2, workerId, tracker.getStoredSessionInfo(hitId2));
}