fix TestWriteFileMetaData{HITS,AOD} unit tests
Tests need fix after !61980 (merged).
Also, the way they were written, the exit code was ignored (but I believe that they could be failed via scanning for error logs).
Tests need fix after !61980 (merged).
Also, the way they were written, the exit code was ignored (but I believe that they could be failed via scanning for error logs).