fixed tests, moved compare into Base::Object