test registration of BouncyCastle JCE provider without prior change to jdk/jre