Added test and correct update behaviour for NodeAdapter
Merge pull request #54 from ragnhildkarlsson/NodeAdapter-test

Added unit test and correct update behaviour for NodeAdapter