Working on unit tests for parser