add tests for different rights