complete a test for HSA sampler