Fix missing variable test