Fix append_widget test