Fixed Pointer rebasing on an invalid instance. Added more unit test stubs.