test the parser