Added unit tests for new user.getOwners logic