Adds eunit tests for encapsulating/decapsulating packets