suppress deprecation warnings; these are just tests
refactored SampleProcessorTest; separated test from util code