Test upload from Python script