Adding a (failing) test case for objects going out of scope.