command/keys: adding more tests