Code refactoring. Change TestSlave to FileManager. Changing the test
implementation to more legible.