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.
In the error inject case, pagination ended up unset too, upsetting the code. I think it's better to code defensively here too.