add warnings and defaults to modSearch, tests to builddata