tests for sampling methods
fix sample test and add identical test for shuffle
v0.0.3