Add testcases for PEM and JKS output type