Added test for checkLines() in Field