improved code coverage for Filesystem. added remaining tests.