Fixed saving of one document via test class.