Tests for PhotoService.