Change ExtractorTest to PatternExtractorTest to match the changed file name.
Fix assert_node_structure => assert_pattern_structure.