fixed bug in _uploadToFileHandleService and added tests
invert quotes in test of command line client to appease Windows