	@Test 
	public void test1() {

		
		try {
			
			// Annotate the first pair with tokens and lemmas
	     	logger.info("Tokenize and lemmatize the sentence pair #1");
			JCas pair1 = lap.generateSingleTHPairCAS(t1, h1);
			
			// Call the aligner to align T and H of pair 1
			logger.info("Aligning pair #1");
			alignerWordNetEN.annotate(pair1);
			logger.info("Finished aligning pair #1");
						
			// Print the alignment of pair 1
			JCas hypoView = pair1.getView(LAP_ImplBase.HYPOTHESISVIEW);
			
			logger.info("Pair 1:");
			logger.info("T: " + t1); 
			logger.info("H: " + h1);
			
			boolean assassinKiller = false, deathPenaltyCapitalPunishment = false;
			
			for (Link link : JCasUtil.select(hypoView, Link.class)) {
				
				logger.info(String.format("Text phrase: %s, " +
						"hypothesis phrase: %s, " + 
						"id: %s, confidence: %f, direction: %s", 
						link.getTSideTarget().getCoveredText(),
						link.getHSideTarget().getCoveredText(),
						link.getID(), link.getStrength(),
						link.getDirection().toString()));
				
				assassinKiller = assassinKiller || ((link.getTSideTarget().getBegin() == 4) &&
													(link.getTSideTarget().getEnd() == 12) && 
													(link.getHSideTarget().getBegin() == 4) &&
													(link.getHSideTarget().getEnd() == 10));
				
				deathPenaltyCapitalPunishment = deathPenaltyCapitalPunishment || 
						((link.getTSideTarget().getBegin() == 44) &&
						(link.getTSideTarget().getEnd() == 57) && 
						(link.getHSideTarget().getBegin() == 52) &&
						(link.getHSideTarget().getEnd() == 70));
			}
			
			// Make sure the alignments contain the alignment of
			// "assassin" to "killer"
			if (!assassinKiller) {
				fail("There is no alignment link between 'assassin' and 'killer'." +
						" This alignment link appears in: WordNet, BAP, Lin Dependency," +
						" Lin Proximity and Wikipedia. " +
						" Make sure that at least some of these resources were loaded correctly.");
			}
			
			// Make sure the alignments contain the alignment of
			// "death penalty" to "capital punishment"
			if (!deathPenaltyCapitalPunishment) {
				fail("There is no alignment link between 'death penalty' and 'capital punishment'." +
						" This alignment link appears in: WordNet and Wikipedia. " +
						" Make sure that at least one of these resources was loaded correctly.");
			}
			
		} catch (Exception e) {
			logger.info("Could not process first pair. " + e.getMessage());
			e.printStackTrace();
		}
	}