Enhance unique sampling tests.