Write test for parseLines method