certificate test fixes