Add `--test-command` option to test installation