add check for becomming the ca to the sanity tests