* added tests for corner cases of log file reader
threw in some refacroting and some tests for corner cases