simple tests for parser (new api)

these fail because the new non-retarded parser api is not implemented
work on new parser API through unit tests

not done yet but i think this is a step in the right direction