A couple more little fixes for the domain security tests.