minor fix on domainmanager API testing.