Add tests for repository keys commands.