Instagram test and Instagram node fixes

This is my work on adding the Instagram tests. A few issues might need to be sorted. I'll make comments in-line detailing these.
I couldn't trigger the (err) case from the API, I only managed to trigger a scenario where medias == undefined. I think being defensive about an unset medias is an additional requirement, however the code doesn't look too elegant.