Added test for table datagateway