[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.