Add test case for hostname options