Networking unit tests

Signed-off-by: William Lebel <lebelwilliam@gmail.com>