Test for cerificate adding