testing domain structure