Fixed incorrect test result.
Implemented _extract_parsedef().