fix for certifcate stacking test