test_variables: add a bunch of test to show a tiny bug when the variable is