Add: Tests for fileManager