Add #sample to test for randomness