Added some table repository tests