correct C++ tests, replace crlf by lf for test source file