Test the mark as read functionality