Fix initialize should only be called before open
Add nvm node support when running tests