Assert that an instanciated PrivateKey is usable

Include a test for validity of an instanciated PrivateKey