Fixes negative lookbehind and illustrates the other problems

Small changes for lookbehind. Also: Illustrates a possible way for tests
to be written.