fixed some subsampling tests