Added protocol logging
Fixed a bug that occurred when the test sequence got shorter

It caused an index out of bound exception when it happened to be
greater or equal to the test sequence size.
#68: Added support for additional test location fields