Added unit test for fileutils