Tests for `nvm_get_latest`