fix: used Upload() instead of UploadFile() in the examples
cleanup
add some very basic tests