testBasketVariableExists