file changer tests refactored