Added back PK encrypt test procedure