Added get_previous_photo method.
Tests for Photo.get_previous_photo().