Test commit of a py file