LineParser: Extend test, more fixes