[tests] Add a helper for checking data fills
[tests] 100% coverage of fat.cpp
[dir] Return an error for invalid directory index
[tests] Started tests for dir.cpp