Added more tests, improved appending newline char

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
2 files changed