Move tests to t/lib
Add specific newline tests which should always run