Implement appending and truncating (resize) objects
Implement statting an object
Enhance the object test.

We now also check appending and truncating