parser and parser test working fully