Updated TestCase::getMockForModel() to return Table instance