Put a null check in to uploadHeper

added second null check for inner files loop, and a check for empty fileMap

Test coverage for null checks avoiding upload exceptions

moving tests impacts their performance, indicating a test environment issue

formatting?

improved logging and tests to track down JsonMappingException

no longer trying to upload empty request lists; fixed test issues with mocked clients