Updated photo service to return full object. added test implementation into index page.