Copied test to nvuploader.py