+ unit test for parser