Add linemapper/linereader tests