Added unit test and correct update behaviour for NodeAdapter