JPTest: Implemented packet checking (not tested yet)

JPTest now checks packets it receives with the packet list it is
expecting, and sends the results to main window.