[WIP] Test table coverage

I've added a few tests just so you guys can see my progress. I hope to have it fully tested today or tomorrow.
In the future this might generate a TypeError due to the different datashapes of `t['name']` and `t['amount']`.  Maybe replace name with id?