Fix to missing import
API server tests now lookup TXT records and use sockets to check connectivity