tests for add variable