fixed test for datastore