testing gdistsamp