Fix tests in TestNodesAddPage and TestAddingNodes