PKCS7 tests