This works

But is hard to test. What to stub?
Configurable pre-baked search
Too complicated
Merge pull request #28 from pikesley/sample-as-class-method

This works