Added test for Assertion->hasEncryptedAttributes