[NOMERGE] Test examples

This PR adds a test for each example. Some of the examples are horribly broken, so they should be fixed before merging this.
That's a strange path behaviour. Isn't it possible to change the cwd to `examples`?
I'd rather call it using a child process. That way you don't have to wrap everything in try catches either.