Added tests and instagram photo fetching