[PATCH 3/5] unit: Add tests for net