fix tests for network plugin