created tests for variable