No debug output in unit test
Added checks for ns_sock_to_str