Fix some tests that were not using filesystem mock package.