fixed tests for parser