add some tests to parser