better test for empty variable names