adding new test cases for setAccessLevel