[PATCH 2/2] tests: Ensure test files are newline-terminated