adds some integration tests for manipulating object lifecycles

Here are some tests that for playing around with the "object lifecycle" functionality.