Move some new examples to tests

Patterns are more or less complete.