Fix test for empty variable