Parser unit test