Replaced with mock table

btw - I looked at TableIsEmpty and I realized we never close the table. Might want to introduce a try - finally block to close the table