refactored var args test