Add unit test for core action extractor.