loop through application/library variants, checking if testVariant is null