WIP working on adding more test coverage

This is a work in progress PR to get the testing coverage up to 100%
I had to add this in due to the fact that the response I was sending in from the tests was a string that may be needed to converted back into a proper hash for parsing.

Not sure how I feel about this. Thoughts?