Fix issues with VariantUploadResourceTestCase

Signed-off-by: Don Naegely <naegelyd@gmail.com>