re #7403 expose new methods to python and add test