Test Python scripts