test both datastore and direct data load