Added more test cases for variables