test framework for typeOfLine

this function should be able determine what type of this is through
regex.  The unit test provide good and bad cases from the data.