rd_ui: fix failing unit test