update test patterns