[PATCH V4 10/10] x86/pks: Add PKS test code