fixed non-running unit tests of parser