More unit tests for parser