Added datastore tests to TRN-368.