Fix ownership test