adds param docs
[wip] adds search view tests and mocks

don't really know what I'm doing here