fix up our packet cache unit tests plus add bunch more tests