test cases for variables