WIP: add E2E test suite unrelated to docs examples

This is ongoing, bear with me while I hack on this :<
I am not sure what `base` is used for, but it seems that `rewriteTestFile` will ignore it (and always use '/e2e').
(Haven't taken a proper look yet, so this might be intended.)