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.
This test would be a nice additional scenario, however it's difficult to stub node.warn during initialization. Any suggestions on how I could achieve that? Maybe I need to stub out the global warning system?