command: added tests for keys command