implement test for hie-phrase extract