Fixed bug in corpkeyfn performance test