added test for parser