Object declared on stack state tests.