adding for upload debug test
using config.debug instead of --debug
adding upload/download tests for debug