JPTest: Get garbage packets to display correctly

Mostly bug fixes with a basic unit test