Added possibility to set ignore flag to a mocked folder
Improved unit test of ignore change detection