spec test for backend_cert