Actually test for presence of variable, not just that it's true