Bug fixing based on test.py

* Trying to address cases where the typical if hasDepth: map(...)
returns empty lists
* Set up TestPacket.seq correctly