Updated test to check for imscope.window instead of imgui.begin/end as the rendering uses the imscope context manager.