nvm_ls_current tests

Fixes #487.