datastore test: fixed old call to get test db handle