add photo uploader test. #228
Merge pull request #239 from saberma/saberma-enhancement/228-add-photo-uploader-test

增加缩小图片处理的测试