Domain command tests