minor changes
improve file-saving tests