Copy original test_generate_files and adapt doc str
Convert test to pytest syntax
Remove original test
Reimplement trailing newline test with pytest
Remove original trailing newline test
Copy original binaries test
Convert binaries test to pytest syntax
Remove original binaries test
Replace original absolute path test with pytest implementation
Replace original output dir test with pytest implementation
Convert last test of TestGenerateFiles to pytest
Use local variables to come below pep8 line length