tests for variableNames with special cases