Fix broken test for picture uploading.