[PATCH 2/2] network-functions.pl: add missing unit tests for changed, network membership procedure