added tests for Object.h
added template Object class(will be combined with allocator)