Add tests for TYPE_EC key generation.