test dataset hooks