fixed test_addTargetServer() to work with DBAgent-indepent helper functions.