add getResource() to SampleProcessor
add test helper for converting a SampleProcessor to Results
rollup SampleProcessor + (some )tests