fixed broken tests when there is only one domain