remove unused pure virtual function
extend py test