Added testPacket sorting and Auto test runner