correctly testing for node elready installed