Add test that an invalid domain raises a ConnectionError