I think this comment is also relevant to understanding the assertion you added. I had to stare at it for a little bit because (without thinking about it too much) it seems like you are testing that what's in the ui is... what's in the ui. Can you add a little bit of this info below too?