Minor bug fixes and tests for base/_object_base.