updated node tests, need to do some refactoring
Updated specs