removeTable now removes table from tableInstances map
we need more tests