tests for variables