unit test for extractconcepts.