Adding tests for parser