Adding tests for `WriteTrimmedLines`
Adding `filterLines()` test