Merge pull request #425 from cloudedge/pull-req-master-cbaa3fde9bc0ddd7c928818ce403372d05decb62

Merged by devtool for VictorLowther
minor change to stop warning on unit tests
node state moved into attrib
state should return text like before
node state attribute and transistion function
state incorrect for test