Add testing tools.
Document makeSearchObject function