add tests for parser and pass first tests