parseLine method is overridable
using mocha