added explicit path to test and test for existence of the certificate, not the proxy