tests: Check that the unread count is updated properly

This turned out to be working already, but it doesn't hurt to check this
explicitly.
Coding style
tests: Make sure that both EXISTS and the UID mapping are updated in sync