core: Add test for GetCACertificateQuery

Added a test case for the GetCACertificateQuery class.

Change-Id: I508b630d211d1c566b42d0c665603fe970ebbe8b
Signed-off-by: Allon Mureinik <amureini@redhat.com>