defaults extra vars for unirest to null
adds unit tests