Add gentest.sample()
Readme: more explanation, examples