Fix test after renaming scope to domain