Better implementation of last commit, better way of figuring out originating TextPiece (fixes some formatting cases not properly parsed)
Simplify parser tests code (didn't know I could do that back then)