Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
The test script is also ported to python.