calling init parser once
Fixing test case segfault from calling CleanupParser too many times.