Changed stats test writing file name
Merging shit