fix DatabasePictureTest