Add tests on the Filesystem

... And some strange @codeCoverageIgnore :x