refactor find_server into find_server and find_server_effect,
and add a test suite for the effect version.