Change checkNameOwnership return type
Fix lookups and unit tests