Tests for certificate request's encryption