Python testing by @sdouche