shared: Add test for detecting when notification values changed

Compare old and updated values before sending notification of updates
to clients. Also redo adding old_value per client.