adding support for centos, tweaking tests and trying to write bats for checking nvm install