fixed tests to match new parser api