test(rights): tests for rights