Tests for /whois endpoint