More FlaggingNode optimization, added NetworkTest