@Test
public void testStartParallelFPGrowth() throws Exception {

  PFPGrowth.runPFPGrowth(params);
  List<Pair<String,TopKStringPatterns>> frequentPatterns = PFPGrowth.readFrequentPattern(params);
  assertEquals("[(A,([A],5), ([D, A],4), ([B, A],4), ([A, E],4)), "
               + "(B,([B],6), ([B, D],4), ([B, A],4), ([B, D, A],3)), " 
               + "(C,([B, C],3)), "
               + "(D,([D],6), ([D, A],4), ([B, D],4), ([D, A, E],3)), "
               + "(E,([A, E],4), ([D, A, E],3), ([B, A, E],3))]", frequentPatterns.toString());
}