Fileutils: added tests