test IDEA key_size properly

Fixes missing coverage.