refactor(paredit): extract try-command from test-command for interactive tests