Correcting PKeyTest