Fix table implementation depending on file system, and modified test to use memory file system rather than the real file system.