test: add coverage, improve coverage rate
test: add newlines test from #32