adapted public key manager test, removed user profile manager exception
test