parser unit tests: escaping
parser unit tests: globbing
more work on parser / prompt unit tests

api still under development
more similar parser and prompt apis