add datastore reset before testing; add automatic build of entity URI when missing