updated tests for parser