Add tests to pkey