I have a hard time understanding what this test is about from the name and docstring.

Looking at the code I'm inclined to think it checks that the public/private key combination is generated, stored on disk and has the lenght and type specified.