Raise TableError on non existent table in base connection
Test for projection and raise a ValueError if not defined
Indexed model data for testing
Improved testing for indexes with new meta class