signer: factor out isolated subtests for xpi generateCOSEKeyPair
signer: factor out isolated subtests for xpi generateCOSEKeyPair

and add test for unsupported alg

mozilla-services/autograph,mozilla-services/autograph,mozilla-services/autograph