add test to Data-resource kwarg change

cc @quasiben @chdoig