unit test for the generator of model
mocking filesystem