added dns resolver
added additional endpoint tests