nvm_remote_version: add unit tests

`nvm_ls_remote` is stubbed out to avoid making network calls here.