more tests for struct name and var