Add more integration tests for parser