Bugfix: Patch some nasty little bugs

Fixes a NullPointerException when a Packet is disposed
Fixes the tests so they work
Fixes a small bug which caused massive issues preventing data from being
read