Implemented the owned? method.
Added/updated tests for owned? and uid.