make nameserver search fully configurable
add test harness
add test, make tests pass