Use Errorf in test and use a different UpperBound