Add tests for  DSAPrivateKey validation