8048618: Tests for PKCS12 write operations.Reviewed-by: weijunContributed-by: Zaiyao Liu <zaiyao.liu@oracle.com>