fix cert option test and add more internal testing
fix cert option test and add more internal testing

kubernetes/minikube,kubernetes/minikube,kubernetes/minikube,kubernetes/minikube,kubernetes/minikube,kubernetes/minikube,kubernetes/minikube