add rights test