Added unit test for PhotoService and updated configuration for Web