Test patterns.