Wrap failing testWriteAllFilesystemException in an if block