[support] variable_get and tests