unit test: Add test for HexView::maybeUpdateData