test: Add `flynn key` tests.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
test: Add a test for `flynn scale`.

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