[tests] Make fat_init reusable
[tests] Add more tests for fat.cpp