This tests that itemRef attribute must update correctly when token have been added or removed.