@AfterClass
	public static void after() {
		EntityManager entMgr = EntityManagerUtil.getEntityManager();
		entMgr.getTransaction().begin();
		
		//Remove test votes
		VoteRepository vr = new VoteRepository(entMgr);
		List<Vote> votes = vr.findByUserId("-1");
		for(Vote v : votes) {
			entMgr.remove(v);
		}
		
		//Remove test candidates
		ElectionOptionRepository eor = new ElectionOptionRepository(entMgr);
		List<ElectionOption> electionOptions = eor.findByElectionOptionId(-1);
		for(ElectionOption eo : electionOptions) {
			entMgr.remove(eo);
		}
		
		entMgr.getTransaction().commit();
		entMgr.getEntityManagerFactory().close();
	}