Improving testing patterns