fixing output test files
added script to fix output