clenaing up tests and adding a packetreader