Fixed broken unit tests
Fixed getaddrinfo mock for trq_auth unit test