add getBootstrapSamples and corresponding test