This test ensures that itemref must reference the first element with a given id.