test patterns