Add negative tests for KeyPairGeneratorSpecTest

This adds the negative tests to make sure exceptions are thrown when a
spec is built incorrectly.

Bug: 8608597
Change-Id: Ia2fb6847dd94ee33c87a8924cecb934ffe090016
1 file changed