Add assertion method for photo upload