Added unit test for the parser