tests: Only run noproxy test if networking is enabled