Added test for correct certificate load