adds some integration tests for manipulating object lifecycles