test: Ensure the datastore object has an objectId (datastore)