(SERVER-86) Better testing of signed certificate

Improve the test to verify that the certificate was signed with the
public key from the CA certificate.