rights: fix tests