Fix incorrect test that only started failing after change to name domain object syntax.