add support for searchRepository in search manager for tests
Merge pull request #12 from gsegura/master

add code to support rules in automated tests