updated rspec to use expect syntax and removed tests for nodes