Add dataset arg to Resource test factory