Move tests back to 'examples', skip non-testable examples when testing.

This fixes #259. The test script is updated to skip the non-testable folders in `examples`.