[datastore] Restructure the testing kit so that it can be reused by all IDataStoreTests