Initial pattern classes and tests for them.