Add new doc access setting test cases

Adds test cases for no group, public group and private group cases.