Moved thumbnail tests to own file
Trimming strings that get passed to the API

IDs with white space were causing some issues when they were sent as
HTTP requests.  Trimming everything there is to trim to prevent this.