SPAN test - improvement of packet check