test: Add `flynn key` tests.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>