Fix remote tests, add local

This fixes a major problem with the way tables were being read.
You introduce a new parameter that is not used anywhere. Or did I oversee something?