add test of photo model next and prev method